package com.sdhs.analyze.dao;

import com.sdhs.analyze.bean.InfoMessage;
import com.sdhs.analyze.bean.InfoUserMessage;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface InfoUserMessageMapper {

        int insertMessage(InfoMessage record);

        int insertUserMessage(InfoUserMessage record);

        int updateMessage(String nodeId, String nodeType);

        int updateUserMessage(Integer messageId);

        List<Integer> selectUserByOrgId(String orgId, Integer orgType);

        InfoMessage  selectMessage(String nodeId, String nodeType);

}